<div class="modal-header">
    <label  >
        <input type="checkbox" id="scrollControl"  checked >
        Scroll to end
    </label>
</div>
<div class="modal-body" style="height:500px">
    <pre id="log_container"  style="height:100%;overflow-y: scroll"></pre>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="ok()" ng-show="finished">确定</button>
</div>